
import request from '@/utils/request'

// --------  小讲证书 --------

let BASE_ADDRESS = '/work/talkQa'


//分页查询
export const getTalkQaListAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: 'get',
        params: data
    })
}

//id查询
export const getTalkQaGetInfoAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: 'get',
        params: data
    })
}

//修改
export const getTalkQaEditAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: 'put',
        data
    })
}